package routers

import (
	"github.com/gin-gonic/gin"
	v1 "perfect-admin/api/v1"
)

func InitBaseRouter(Router *gin.RouterGroup) {
	BaseRouter := Router.Group("base")
	{
		BaseRouter.POST("uploadImage", v1.UploadImage)
		BaseRouter.POST("deleteFile", v1.DeleteFile)
		BaseRouter.POST("captcha", v1.Captcha)
		BaseRouter.GET("captcha/:captchaId", v1.CaptchaImg)
	}
}